{% extends 'AmistateBundle::layout.html.twig'  %}

{% block breadcrumbs %}
	{% include "AmistateBundle:List:breadcrumb.html.twig" %}
{% endblock %}

{% block filters %}
	{% include "AmistateBundle:List:filters.html.twig" %}
{% endblock %}

{% block body %}
	<div class="search-result text-center">
		<div class="row relative">
			{{ render(controller("AmistateBundle:Default:usersInHeader")) }}
			<div class="twelve columns">
				<h2>Total de <span class="pink-text">Usuarios</span></h2>
				<p class="lead">Su búsqueda devolvió {{pagination.getTotalItemCount}} coincidencias:</p>
				
				<div class="search-list">
					{% for usuario in usuarios %}
						{% include "AmistateBundle:List:userbox.html.twig" %}
					{% endfor %}
				</div>

				<div class="row">
					<div class="twelve columns pagination-centered">
						{{ knp_pagination_render(pagination) }}
					</div>
				</div>
			</div>
		</div>
	</div>
{% endblock %}